﻿<Window x:Class="WordCount.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WordCount" Height="619" Width="540">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="205*"/>
            <ColumnDefinition Width="221*"/>
        </Grid.ColumnDefinitions>
        <Button x:Name="ButtonChooseInput" Content="Change ..." HorizontalAlignment="Left" Margin="197,20,0,0" VerticalAlignment="Top" Width="63" Click="ButtonChooseInput_Click" Grid.Column="1"/>
        <Slider x:Name="SliderMappers" IsSnapToTickEnabled="true" HorizontalAlignment="Left" Margin="143,253,0,0" VerticalAlignment="Top" Width="104" Minimum="1" Maximum="4" TickPlacement="BottomRight" ValueChanged="SliderMappers_ValueChanged" SmallChange="1"/>
        <Label Content="Number of Mappers:" HorizontalAlignment="Left" Margin="18,250,0,0" VerticalAlignment="Top"/>
        <Label Content="Number of Reducers:" HorizontalAlignment="Left" Margin="18,276,0,0" VerticalAlignment="Top"/>
        <Slider x:Name="SliderReducers" IsSnapToTickEnabled="True" HorizontalAlignment="Left" Margin="143,282,0,0" VerticalAlignment="Top" Width="104" Minimum="1" Maximum="4" TickPlacement="BottomRight" ValueChanged="SliderReducers_ValueChanged" SmallChange="1"/>
        <Button x:Name="ButtonStartCount" Background="Green" Foreground="White" Content="Start Count!" HorizontalAlignment="Left" Margin="22,253,0,0" VerticalAlignment="Top" Width="238" Click="ButtonStartCount_Click" Grid.Column="1" Height="45" FontSize="16" FontWeight="Bold"/>
        <ListBox x:Name="ListBoxFiles" HorizontalAlignment="Left" Height="188" Margin="18,45,0,0" VerticalAlignment="Top" Width="498" Grid.ColumnSpan="2"/>
        <Label Content="Input Files:" HorizontalAlignment="Left" Margin="18,17,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="309"/>
        <Label x:Name="LabelMappers" Content="1" HorizontalAlignment="Left" Margin="252,247,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="21"/>
        <Label x:Name="LabelReducers" Content="1" HorizontalAlignment="Left" Margin="252,278,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="21"/>
        <TextBox x:Name="TextBoxSearch" HorizontalAlignment="Left" Height="23" Margin="10,348,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="160" Grid.Column="1"/>
        <Button x:Name="ButtonSearch" Content="Search ..." HorizontalAlignment="Left" Margin="185,348,0,0" VerticalAlignment="Top" Width="75" Height="23" Click="ButtonSearch_Click" Grid.Column="1" IsEnabled="False"/>
        <TextBox x:Name="TextBoxSearchResults" VerticalScrollBarVisibility="Auto" IsReadOnly="True" Grid.ColumnSpan="2" HorizontalAlignment="Left" Height="194" Margin="20,379,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="496"/>
        <Label Content="Search Results:" HorizontalAlignment="Left" Margin="18,348,0,0" VerticalAlignment="Top"/>

    </Grid>
</Window>
